package com.fyh.entity.community;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class PostVO {
    private Long postId;
    private Long userId;
    private String nickname;
    private String avatarPath;
    private Long categoryId;
    private String categoryName;
    private String title;
    private String content;
    private List<String> attachmentPathList;
    private String reactionType;    // 当前用户与帖子互动状态
    private Boolean isFavourite;    // 当前用户与帖子收藏状态
    private Integer likeCount;      // 点赞数
    private Integer favouriteCount; // 收藏数
    private Integer replyCount;     // 回复数
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
